from enum import Enum


class HttpCode(str, Enum):
    """ "HTTP基础业务状态码"""

    SUCCESS = "success"  # 成功状态
    FAIL = "fail"  # 失败状态太
    NOTE_FOUND = "node_found"  # 未找到
    UNAUTHORIZED = "unauthorized"  # 未授权
    FORBIDDEN = "forbidden"  # 无权限
    VALIDATA_ERROR = "validata_error"  # 数据验证错误
